hip.game2d.sprite

Undocumented in source.

Public Imports

hip.api.renderer.texture
public import hip.api.renderer.texture;
Undocumented in source.
hip.api.graphics.color
public import hip.api.graphics.color;
Undocumented in source.
hip.api.data.commons
public import hip.api.data.commons;
Undocumented in source.

Members

Classes

HipMultiSprite
class HipMultiSprite

Encapsulates bunch of sprites to hold a contiguous list of vertices. It has some advantages than creating manually an array of similar sprites such as: - Copies only once to the SpriteBatch, which searches for the texture index once. - Boundary checks once - Makes the sprites array vertices linear, reducing cache misses. - Wraps the setTexture and draw process so no need to manually execute the foreach

HipSprite
class HipSprite
Undocumented in source.
HipSpriteAnimation
class HipSpriteAnimation
Undocumented in source.

Meta